package code3;

public enum City {
	FUSHANG(360), SHOUOU(160), RENGCHUANG(140);

	private int distance;

	public int getDistance() {
		return distance;
	}

	public void setDistance(int distance) {
		this.distance = distance;
	}

	private City(int distance) {
		this.distance = distance;
	}

}
